package oo.day02;

public class Student {
    String name;
    int age;
    String address;

    Student(String name,int age,String address){
        this.name= name;
        this.age= age;
        this.address= address;

    }


    void study() {
        System.out.println(name+"在学习...");

    }
    void sayHi(){
        System.out.println("大家好，我叫"+name+",今年"+age+"岁了，家住"+address);

    }
}
